@layout("/common/_container.html",{js:["/assets/task/taskOrder/taskOrder_add.js"]}){
<style>
	.layui-badge-rim, .layui-colla-content, .layui-colla-item, .layui-collapse, .layui-elem-field, .layui-form-pane .layui-form-item[pane], .layui-form-pane .layui-form-label, .layui-input, .layui-layedit, .layui-layedit-tool, .layui-quote-nm, .layui-select, .layui-tab-bar, .layui-tab-card, .layui-tab-title, .layui-tab-title .layui-this:after, .layui-textarea {
    	border-color: #89d19d;
    }
    .layui-form-pane .layui-form-label {
   	 	background-color: #e6e6e6;
	}
</style>
<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="taskOrderForm" lay-filter="taskOrderForm" class="layui-form layui-form-pane" style="max-width: 1000px;margin: 10px auto;">
                <input name="id" type="hidden"/>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 10px;">
                    <legend>添加作业单信息</legend>
                </fieldset>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">项目部<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="operateId" name="operateId" lay-filter="operateId" lay-verify="required" required>
                            @for(item in basicOperatelist!){
                            <option value="${item.id}">${item.operateName}</option>
                            @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">客户名称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="outCustomerId" name="outCustomerId" lay-filter="outCustomerId" lay-verify="required" required>
                            @for(item in basicCustomerList!){
                            <option value="${item.id}">${item.customerName}</option>
                            @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">作业日期<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="v1" name="v1" placeholder="请输入作业日期" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
				  <div class="layui-form-item" pane="">
                    <label class="layui-form-label" style="font-weight: 600;">作业类型<span style="color: red;">*</span></label>
				    <div class="layui-input-block">
				      <input type="radio" name="taskWork" value="卸车" title="卸车" checked="checked" lay-filter="taskWork">
				      <input type="radio" name="taskWork" value="装车" title="装车" lay-filter="taskWork">
						 <input type="radio" name="taskWork" value="转仓装车" title="转仓装车" lay-filter="taskWork">
						 <input type="radio" name="taskWork" value="转仓卸车" title="转仓卸车" lay-filter="taskWork">
						 <input type="radio" name="taskWork" value="拣货" title="拣货" lay-filter="taskWork">
				      <input type="radio" name="taskWork" value="入库" title="入库" lay-filter="taskWork">
				      <input type="radio" name="taskWork" value="移库" title="移库" lay-filter="taskWork">
				      <input type="radio" name="taskWork" value="出库" title="出库" lay-filter="taskWork">
				      <input type="radio" name="taskWork" value="领料" title="领料" lay-filter="taskWork">
				      <input type="radio" name="taskWork" value="理库" title="理库" lay-filter="taskWork">
				      <input type="radio" name="taskWork" value="废料" title="废料" lay-filter="taskWork">
				      <input type="radio" name="taskWork" value="批量作业" title="批量作业" lay-filter="taskWork">
				      <input type="radio" name="taskWork" value="跟车" title="跟车" lay-filter="taskWork">
				      <input type="radio" name="taskWork" value="杂工" title="杂工" lay-filter="taskWork">
				      <input type="radio" name="taskWork" value="其它" title="其它" lay-filter="taskWork">
				    </div>
				  </div>
                <div class="layui-form-item" id="mendianshu_div">
                    <label class="layui-form-label" style="font-weight: 600;">门店数<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="v9" name="v9" placeholder="请输入门店数" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
				  <div class="layui-form-item" pane="" id="xieche_div">
                    <label class="layui-form-label" style="font-weight: 600;">类别<span style="color: red;">*</span></label>
				    <div class="layui-input-block">
				      <input type="radio" name="type1" value="成品" title="成品" checked="checked">
				      <input type="radio" name="type1" value="原材料手工" title="原材料手工">
				      <input type="radio" name="type1" value="原材料叉车" title="原材料叉车">
				    </div>
				  </div>
				  <div class="layui-form-item" pane="" id="zhuangche_div">
                    <label class="layui-form-label" style="font-weight: 600;">类别<span style="color: red;">*</span></label>
				    <div class="layui-input-block">
				      <input type="radio" name="type2" value="成品" title="成品" checked="checked">
				      <input type="radio" name="type2" value="原纸" title="原纸">
				      <input type="radio" name="type2" value="废料" title="废料">
				    </div>
				  </div>
				<div class="layui-form-item" pane="" id="zhuancangZC_div">
					<label class="layui-form-label" style="font-weight: 600;">类别<span style="color: red;">*</span></label>
					<div class="layui-input-block">
						<input type="radio" name="type10" value="成品" title="成品" checked="checked">
						<input type="radio" name="type10" value="原纸" title="原纸">
						<input type="radio" name="type10" value="废料" title="废料">
					</div>
				</div>
				<div class="layui-form-item" pane="" id="zhuancangXC_div">
					<label class="layui-form-label" style="font-weight: 600;">类别<span style="color: red;">*</span></label>
					<div class="layui-input-block">
						<input type="radio" name="type11" value="成品" title="成品" checked="checked">
						<input type="radio" name="type11" value="原材料手工" title="原材料手工">
						<input type="radio" name="type11" value="原材料叉车" title="原材料叉车">
					</div>
				</div>
				  <div class="layui-form-item" pane="" id="ruku_div">
                    <label class="layui-form-label" style="font-weight: 600;">类别<span style="color: #ff0000;">*</span></label>
				    <div class="layui-input-block">
				      <input type="radio" name="type3" value="成品" title="成品" checked="checked">
				      <input type="radio" name="type3" value="原纸" title="原纸">
				      <input type="radio" name="type3" value="废料" title="废料">
				    </div>
				  </div>
				  <div class="layui-form-item" pane="" id="yiku_div">
                    <label class="layui-form-label" style="font-weight: 600;">类别<span style="color: red;">*</span></label>
				    <div class="layui-input-block">
				      <input type="radio" name="type4" value="成品" title="成品" checked="checked">
				      <input type="radio" name="type4" value="原纸" title="原纸">
				    </div>
				  </div>
				  <div class="layui-form-item" pane="" id="lingliao_div">
                    <label class="layui-form-label" style="font-weight: 600;">类别<span style="color: red;">*</span></label>
				    <div class="layui-input-block">
				      <input type="radio" name="type5" value="人工" title="人工" checked="checked">
				      <input type="radio" name="type5" value="机械" title="机械">
				    </div>
				  </div>
				  <div class="layui-form-item" pane="" id="feiliao_div">
                    <label class="layui-form-label" style="font-weight: 600;">类别<span style="color: red;">*</span></label>
				    <div class="layui-input-block">
				      <input type="radio" name="type6" value="打包" title="打包" checked="checked">
				      <input type="radio" name="type6" value="装袋" title="装袋">
				    </div>
				  </div>
				  <div class="layui-form-item" pane="" id="liku_div">
                    <label class="layui-form-label" style="font-weight: 600;">类别<span style="color: red;">*</span></label>
				    <div class="layui-input-block">
				      <input type="radio" name="type7" value="盘点" title="盘点" checked="checked">
				      <input type="radio" name="type7" value="退货" title="退货">
				      <input type="radio" name="type7" value="卫生巡检" title="卫生巡检">
				    </div>
				  </div>
				  <div class="layui-form-item" pane="" id="piliang_div">
                    <label class="layui-form-label">类别<span style="color: red;">*</span></label>
				    <div class="layui-input-block">
				      <input type="radio" name="type8" value="组套" title="组套" checked="checked">
				      <input type="radio" name="type8" value="批量单" title="批量单">
				      <input type="radio" name="type8" value="辅助作业" title="辅助作业">
				    </div>
				  </div>
				  <div class="layui-form-item" pane="" id="zagong_div">
                    <label class="layui-form-label" style="font-weight: 600;">类别<span style="color: red;">*</span></label>
				    <div class="layui-input-block">
				      <input type="radio" name="type9" value="非机械" title="非机械" checked="checked">
				      <input type="radio" name="type9" value="叉（抱）车" title="叉（抱）车">
				    </div>
				  </div>
				  <div class="layui-form-item" pane="" id="carModel_div">
                    <label class="layui-form-label" style="font-weight: 600;">车型<span style="color: red;">*</span></label>
				    <div class="layui-input-block">
				      <input type="radio" name="carModel" value="海柜" title="海柜" checked="checked">
				      <input type="radio" name="carModel" value="17.5米" title="17.5米">
				      <input type="radio" name="carModel" value="13.5米" title="13.5米">
				      <input type="radio" name="carModel" value="9.6米" title="9.6米">
				      <input type="radio" name="carModel" value="6.8米" title="6.8米">
				      <input type="radio" name="carModel" value="4.2米" title="4.2米">
				    </div>
				  </div>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">作业内容<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="name" name="name" placeholder="请输入车牌号或工作内容等等" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">客户单号</label>
                    <div class="layui-input-block">
                        <input id="customerNumber" name="customerNumber" placeholder="请输入客户单号，如多个逗号隔开" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 10px;">
                    <legend>添加核算信息</legend>
                </fieldset>
                
				  <div class="layui-form-item" pane="">
                    <label class="layui-form-label" style="font-weight: 600;">核算方式<span style="color: red;">*</span></label>
				    <div class="layui-input-block">
				      <input type="radio" name="settlementMode" value="体积" title="体积" checked="checked" lay-filter="settlementMode">
				      <input type="radio" name="settlementMode" value="数量" title="数量" lay-filter="settlementMode">
				      <input type="radio" name="settlementMode" value="重量" title="重量" lay-filter="settlementMode">
				      <input type="radio" name="settlementMode" value="工时" title="工时" lay-filter="settlementMode">
				    </div>
				  </div>
                <div class="layui-form-item" id="volume_div">
                    <label class="layui-form-label" style="font-weight: 600;">体积<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="volume" name="volume" placeholder="请输入体积" type="number" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item" id="nums_div">
                    <label class="layui-form-label" style="font-weight: 600;">数量<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="nums" name="nums" placeholder="请输入数量" type="number" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item" id="weights_div">
                    <label class="layui-form-label" style="font-weight: 600;">重量(吨)<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="weights" name="weights" placeholder="请输入重量" type="number" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
				  <div class="layui-form-item layui-form-text">
				    <label class="layui-form-label">备注</label>
				    <div class="layui-input-block">
				      <textarea placeholder="请输入内容" class="layui-textarea" id="note" name="note"></textarea>
				    </div>
				  </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}